<header id="header" class="am-bg-white">
    <div class="am-bg-black">
        <div class="base-w">
            <div class="topnav">
                <div class="am-inline-block">客服热线：{{config('website')['service_phone']}}</div>
                <div class="am-inline-block am-fr">
                    <div class="am-inline-block am-padding-right-lg">
                        <!--用户登录后放开下面代码-->
                        @if(isset($lgInfo))
                            <div class="am-dropdown" data-am-dropdown>
                                <button class="am-btn am-bg-transparent am-dropdown-toggle am-text-white am-padding-0 am-text-sm" data-am-dropdown-toggle>{{$lgInfo['real_name']}}<span class="am-padding-left-xs am-icon-caret-down"></span></button>
                                <ul class="am-dropdown-content">
                                    <li><a href="{{route('f_Pc_User_Wallet')}}">我的资产</a></li>
                                    {{--<li><a href="#">我的收藏</a></li>--}}
                                    <li><a href="{{route('f_Pc_Address_myAddress')}}">地址管理</a></li>
                                    <li><a href="{{route('f_Wap_User_index')}}">个人中心</a></li>
                                </ul>
                            </div>
                            <span class="am-padding-left-xs am-padding-right-xs" style="color:#999;">|</span>
                            <span><a href="{{route('f_Login_logout')}}" class="am-text-white">退出</a></span>
                        @else
                            <span><a href="{{route('f_Login_login')}}" class="am-text-white">登录</a></span>
                            <span class="am-padding-left-xs am-padding-right-xs" style="color:#999;">|</span>
                            <span><a href="{{route('f_Login_register')}}" class="am-text-white" >注册</a></span>
                        @endif
                    </div>
                    <div class="am-inline-block">
                        <span><a href="{{route('f_Pc_Order_orderList')}}" class="am-text-white">我的订单</a></span>
                        <span class="am-padding-left-xs am-padding-right-xs" style="color:#999;">|</span>
                        {{--<span><a href="#" class="am-text-white">消息通知</a></span>--}}
                        {{--<span class="am-padding-left-xs am-padding-right-xs" style="color:#999;">|</span>--}}
                        {{--<span><a href="#" class="am-text-white">用户协议</a></span>--}}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="am-g base-w am-padding-top-xs am-padding-bottom-xs">
        <div class="am-u-md-2 am-u-lg-2 am-padding-left-0">  <img  src="{{config('website')['site_logo']}}" width="127" height="47" alt="" /></div>
        <div class="am-u-md-7 am-u-lg-7 am-padding-left-0">
            <ul class="menu">
                <li class="active"><a href="{{route('f_Shop_index')}}">首页</a></li>
                @include('PShop::public.shop_nav')
            </ul>
        </div>
        <div class="am-u-md-3 am-u-lg-3 am-padding-left-0 am-padding-right-0 am-text-right">
				<span class="am-inline-block am-margin-right-sm">
						<div class="am-input-group">
                            <span type="text" class="am-form-field"></span>
				      {{--<span class="am-input-group-btn" onclick="window.location.href='searchEmpty.html'">--}}
				        {{--<img src="{{config('mall.pc_assets')}}/detail/img/search.png" width="100%" />--}}
				      {{--</span>--}}
				    </div>
				</span>
            <span class="shopcar_box am-inline-block mycar" onclick="window.location.href='{{route('f_Pc_Cart_cartList')}}'">
			    	<img src="{{config('mall.pc_assets')}}/detail/img/shopcar_img.png" style="margin-top:-2em;">
			    	<em class="bage num">{{$cart_num??0}}</em>
			</span>
        </div>
    </div>
</header>